package cn.itzzx.lagou.consumer.bean;

import cn.itzzx.lagou.api.ApiService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

@Component
public class ConsumerComponent {

    @Reference(timeout = 120000)
    private ApiService apiService;

    public void engine() {
        apiService.method1();
    }

    public void wheel() {
        apiService.method2();
    }

    public void run() {
        apiService.method3();
    }

}
